home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
HENSA
/
MISC
/
SHELL.ARC
/
Shell
/
Sources
/
c
/
PlainGRect
< prev
next >
Wrap
Text File
|
1994-06-21
|
488b
|
27 lines
#include "Shell.RedrawToSp.h"
#include "Shell.PlainRect.h"
static BOOL Shell_PlainGreyRectSaver( char *filename, Shell_rectblock *r)
{
return Shell_SaveRectAsSprite( filename, r, TRUE /*use greyscale palette*/);
}
Shell_rectblock *Shell_AddPlainGreyRect(
Shell_windblock *w,
int xmin, int ymin,
int xmax, int ymax
)
{ Shell_rectblock *r;
r = Shell_AddPlainRect( w, xmin, ymin, xmax, ymax);
r->saver = Shell_PlainGreyRectSaver; /* Override the standard saver. */
return r;
}